package com.fast.develop.dm.core.source;


import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 莫寅
 * @createTime 2022-06-04 23:41
 * @desc：
 */
public class MetaDomainSources {

    private List<InputStream> jsonInputStreams = new ArrayList<InputStream>();

    private List<String> schemaFolderPaths = new ArrayList<>();

    public MetaDomainSources addInputStream(InputStream jsonInputStream) {
        jsonInputStreams.add(jsonInputStream);
        return this;
    }

    public MetaDomainSources addFolderPath(String path) {
        schemaFolderPaths.add(path);
        return this;
    }

    public List<InputStream> getJsonInputStreams() {
        return jsonInputStreams;
    }

    public List<String> getSchemaFolderPaths() {
        return schemaFolderPaths;
    }
}
